#!/user/bin/env node

const stdin = process.stdin,
      stdout = process.stdout,
      log = console.log;

stdout.write('demodemo~');

stdout.on('pipe',(src)=>{
  log('somethis is piping into the stdout');
  //assert.equal(src,stdin);
});
stdin.pipe(stdout);

stdout.write("demo2~");
